runtime.hmap.B (field)
53 uses
runtime (current package)
map.go#L121: B uint8 // log_2 of # of buckets (can hold up to loadFactor * 2^B items)
map.go#L231: if h.B < 16 {
map.go#L238: mask := uint32(1)<<(h.B-15) - 1
map.go#L322: h.B = B
map.go#L327: if h.B != 0 {
map.go#L329: h.buckets, nextOverflow = makeBucketArray(t, h.B, nil)
map.go#L418: m := bucketMask(h.B)
map.go#L479: m := bucketMask(h.B)
map.go#L523: m := bucketMask(h.B)
map.go#L608: bucket := hash & bucketMask(h.B)
map.go#L657: if !h.growing() && (overLoadFactor(h.count+1, h.B) || tooManyOverflowBuckets(h.noverflow, h.B)) {
map.go#L724: bucket := hash & bucketMask(h.B)
map.go#L832: it.B = h.B
map.go#L846: if h.B > 31-bucketCntBits {
map.go#L849: it.startBucket = r & bucketMask(h.B)
map.go#L850: it.offset = uint8(r >> h.B & (bucketCnt - 1))
map.go#L887: if h.growing() && it.B == h.B {
map.go#L1026: _, nextOverflow := makeBucketArray(t, h.B, h.buckets)
map.go#L1044: if !overLoadFactor(h.count+1, h.B) {
map.go#L1049: newbuckets, nextOverflow := makeBucketArray(t, h.B+bigger, nil)
map.go#L1056: h.B += bigger
map.go#L1114: oldB := h.B
map_fast32.go#L25: if h.B == 0 {
map_fast32.go#L30: m := bucketMask(h.B)
map_fast32.go#L65: if h.B == 0 {
map_fast32.go#L70: m := bucketMask(h.B)
map_fast32.go#L114: bucket := hash & bucketMask(h.B)
map_fast32.go#L156: if !h.growing() && (overLoadFactor(h.count+1, h.B) || tooManyOverflowBuckets(h.noverflow, h.B)) {
map_fast32.go#L204: bucket := hash & bucketMask(h.B)
map_fast32.go#L246: if !h.growing() && (overLoadFactor(h.count+1, h.B) || tooManyOverflowBuckets(h.noverflow, h.B)) {
map_fast32.go#L290: bucket := hash & bucketMask(h.B)
map_fast64.go#L25: if h.B == 0 {
map_fast64.go#L30: m := bucketMask(h.B)
map_fast64.go#L65: if h.B == 0 {
map_fast64.go#L70: m := bucketMask(h.B)
map_fast64.go#L114: bucket := hash & bucketMask(h.B)
map_fast64.go#L156: if !h.growing() && (overLoadFactor(h.count+1, h.B) || tooManyOverflowBuckets(h.noverflow, h.B)) {
map_fast64.go#L204: bucket := hash & bucketMask(h.B)
map_fast64.go#L246: if !h.growing() && (overLoadFactor(h.count+1, h.B) || tooManyOverflowBuckets(h.noverflow, h.B)) {
map_fast64.go#L290: bucket := hash & bucketMask(h.B)
map_faststr.go#L25: if h.B == 0 {
map_faststr.go#L81: m := bucketMask(h.B)
map_faststr.go#L120: if h.B == 0 {
map_faststr.go#L176: m := bucketMask(h.B)
map_faststr.go#L225: bucket := hash & bucketMask(h.B)
map_faststr.go#L275: if !h.growing() && (overLoadFactor(h.count+1, h.B) || tooManyOverflowBuckets(h.noverflow, h.B)) {
map_faststr.go#L319: bucket := hash & bucketMask(h.B)